﻿using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Editors;

namespace HC.XAP.FileUpload.Blazor.Server.Editors.DxBatchUpload
{
    public class DxBatchUploadEditorModule : ModuleBase
    {
        protected override void RegisterEditorDescriptors(EditorDescriptorsFactory editorDescriptorsFactory)
        {
            base.RegisterEditorDescriptors(editorDescriptorsFactory);

            editorDescriptorsFactory.RegisterPropertyEditorAlias("DxBatchUploadEditor", typeof(string), false);
            editorDescriptorsFactory.RegisterPropertyEditor("DxBatchUploadEditor", typeof(string), typeof(DxBatchUploadEditor), true);
        }
    }
}
